sgdk
vdp_dma.h
Go to the documentation of this file.
00001 
00010 #ifndef _VDP_DMA_H_
00011 #define _VDP_DMA_H_
00012 
00013 
00018 #define VDP_DMA_VRAM    0
00019 
00023 #define VDP_DMA_CRAM    1
00024 
00028 #define VDP_DMA_VSRAM   2
00029 
00030 
00042 #define VDP_doVRamDMA(from, to, len)            \
00043     VDP_doDMA(VDP_DMA_VRAM, from, to, len)
00044 
00055 #define VDP_doCRamDMA(from, to, len)            \
00056     VDP_doDMA(VDP_DMA_CRAM, from, to, len)
00057 
00068 #define VDP_doVSRamDMA(from, to, len)           \
00069     VDP_doDMA(VDP_DMA_VSRAM, from, to, len)
00070 
00071 
00094 void VDP_doDMAEx(u8 location, u32 from, u16 to, u16 len, s16 vramStep);
00112 void VDP_doDMA(u8 location, u32 from, u16 to, u16 len);
00124 void VDP_doVRamDMAFill(u16 to, u16 len, u8 value);
00136 void VDP_doVRamDMACopy(u16 from, u16 to, u16 len);
00137 
00138 
00139 #endif // _VDP_DMA_H_
 All Classes Files Functions Variables Typedefs Enumerations Defines